package com.scau.bookstore.common.entity;

import com.scau.bookstore.common.pojo.Book;
import com.scau.bookstore.common.pojo.Catalog;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 每个分类在首页对应的广告实体类
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Advertisement {
    private Catalog catalog;
    private List<Book> bookList;
}
